class CustomersController < ApplicationController
  def show
    if session['cliente'].nil?
      cpf = params[:id]
      @customer = Customer.find cpf
    else
      @customer = session['cliente'][2][0]
    end
    puts "customer = #{@customer}"
  end
end
